package com.bridgeintelligent.tag.engine.mvc.service;

import com.bridgeintelligent.tag.engine.api.rsp.DimLastMonthRsp;
import com.bridgeintelligent.tag.engine.api.rsp.DimMonitorDetailRsp;
import com.bridgeintelligent.tag.engine.api.rsp.DimTop10Rsp;
import com.bridgeintelligent.tag.engine.es.model.DimMonitorDetailModel;
import com.bridgeintelligent.tag.engine.es.model.LastMonthModel;
import com.bridgeintelligent.tag.engine.es.model.Top10Model;

import java.io.IOException;

/**
 * @description
 * @author: grp 2020-10-12 10:23
 **/
public interface IDimMonitorService {
    /**
     * 上个月统计结果
     * @param model
     * @return
     */
    DimLastMonthRsp lastMonth(LastMonthModel model) throws IOException;

    /**
     * 选定月份统计结果top10
     * @param model
     * @return
     */
    DimTop10Rsp top10(Top10Model model) throws IOException;

    /**
     * 统计详情
     * @param model
     * @return
     */
    DimMonitorDetailRsp detail(DimMonitorDetailModel model) throws IOException;
}
